Inserts the specified item at the specified index in the collection.
シンタックス
'宣言
Public Overloads Shared Function InsertAsync(Of As Class)( _
ByVal As IDataCollection(Of T), _
ByVal As System.Integer, _
ByVal As , _
Optional ByVal As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task(Of Integer)
public static System.Threading.Tasks.Task<int> InsertAsync<>(
IDataCollection<T> ,
System.int ,
,
System.Threading.CancellationToken
)
where T: class
パラメータ
- dataCollection
- The data collection.
- index
- The index where the item will be inserted.
- item
- The item to be inserted.
- cancellationToken
- The cancellation token.
型パラメータ
- T
参照